package kuoge.practice.kafka.stream.member.activity.conversionrate;

/**
 * @Description
 */
public class UserVisitItemEvent {
    private final String userId;
    private final String itemCode;
    private final long timestamp;

    public UserVisitItemEvent(String userId, String itemCode) {
        this.userId = userId;
        this.itemCode = itemCode;
        this.timestamp = System.currentTimeMillis();
    }
    public String getUserId() {
        return userId;
    }

    public String getItemCode() {
        return itemCode;
    }
    public long getTimestamp() {
        return timestamp;
    }
}
